package com.base.po.voip;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ExchangeMobileRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ExchangeMobileRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUseridaIsNull() {
            addCriterion("UserIdA is null");
            return (Criteria) this;
        }

        public Criteria andUseridaIsNotNull() {
            addCriterion("UserIdA is not null");
            return (Criteria) this;
        }

        public Criteria andUseridaEqualTo(String value) {
            addCriterion("UserIdA =", value, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaNotEqualTo(String value) {
            addCriterion("UserIdA <>", value, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaGreaterThan(String value) {
            addCriterion("UserIdA >", value, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaGreaterThanOrEqualTo(String value) {
            addCriterion("UserIdA >=", value, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaLessThan(String value) {
            addCriterion("UserIdA <", value, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaLessThanOrEqualTo(String value) {
            addCriterion("UserIdA <=", value, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaLike(String value) {
            addCriterion("UserIdA like", value, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaNotLike(String value) {
            addCriterion("UserIdA not like", value, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaIn(List<String> values) {
            addCriterion("UserIdA in", values, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaNotIn(List<String> values) {
            addCriterion("UserIdA not in", values, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaBetween(String value1, String value2) {
            addCriterion("UserIdA between", value1, value2, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridaNotBetween(String value1, String value2) {
            addCriterion("UserIdA not between", value1, value2, "userida");
            return (Criteria) this;
        }

        public Criteria andUseridbIsNull() {
            addCriterion("UserIdB is null");
            return (Criteria) this;
        }

        public Criteria andUseridbIsNotNull() {
            addCriterion("UserIdB is not null");
            return (Criteria) this;
        }

        public Criteria andUseridbEqualTo(String value) {
            addCriterion("UserIdB =", value, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbNotEqualTo(String value) {
            addCriterion("UserIdB <>", value, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbGreaterThan(String value) {
            addCriterion("UserIdB >", value, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbGreaterThanOrEqualTo(String value) {
            addCriterion("UserIdB >=", value, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbLessThan(String value) {
            addCriterion("UserIdB <", value, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbLessThanOrEqualTo(String value) {
            addCriterion("UserIdB <=", value, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbLike(String value) {
            addCriterion("UserIdB like", value, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbNotLike(String value) {
            addCriterion("UserIdB not like", value, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbIn(List<String> values) {
            addCriterion("UserIdB in", values, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbNotIn(List<String> values) {
            addCriterion("UserIdB not in", values, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbBetween(String value1, String value2) {
            addCriterion("UserIdB between", value1, value2, "useridb");
            return (Criteria) this;
        }

        public Criteria andUseridbNotBetween(String value1, String value2) {
            addCriterion("UserIdB not between", value1, value2, "useridb");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("ParentId is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("ParentId is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(String value) {
            addCriterion("ParentId =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(String value) {
            addCriterion("ParentId <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(String value) {
            addCriterion("ParentId >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(String value) {
            addCriterion("ParentId >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(String value) {
            addCriterion("ParentId <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(String value) {
            addCriterion("ParentId <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLike(String value) {
            addCriterion("ParentId like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotLike(String value) {
            addCriterion("ParentId not like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<String> values) {
            addCriterion("ParentId in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<String> values) {
            addCriterion("ParentId not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(String value1, String value2) {
            addCriterion("ParentId between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(String value1, String value2) {
            addCriterion("ParentId not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andMobileaIsNull() {
            addCriterion("MobileA is null");
            return (Criteria) this;
        }

        public Criteria andMobileaIsNotNull() {
            addCriterion("MobileA is not null");
            return (Criteria) this;
        }

        public Criteria andMobileaEqualTo(String value) {
            addCriterion("MobileA =", value, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaNotEqualTo(String value) {
            addCriterion("MobileA <>", value, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaGreaterThan(String value) {
            addCriterion("MobileA >", value, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaGreaterThanOrEqualTo(String value) {
            addCriterion("MobileA >=", value, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaLessThan(String value) {
            addCriterion("MobileA <", value, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaLessThanOrEqualTo(String value) {
            addCriterion("MobileA <=", value, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaLike(String value) {
            addCriterion("MobileA like", value, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaNotLike(String value) {
            addCriterion("MobileA not like", value, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaIn(List<String> values) {
            addCriterion("MobileA in", values, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaNotIn(List<String> values) {
            addCriterion("MobileA not in", values, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaBetween(String value1, String value2) {
            addCriterion("MobileA between", value1, value2, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobileaNotBetween(String value1, String value2) {
            addCriterion("MobileA not between", value1, value2, "mobilea");
            return (Criteria) this;
        }

        public Criteria andMobilebIsNull() {
            addCriterion("MobileB is null");
            return (Criteria) this;
        }

        public Criteria andMobilebIsNotNull() {
            addCriterion("MobileB is not null");
            return (Criteria) this;
        }

        public Criteria andMobilebEqualTo(String value) {
            addCriterion("MobileB =", value, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebNotEqualTo(String value) {
            addCriterion("MobileB <>", value, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebGreaterThan(String value) {
            addCriterion("MobileB >", value, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebGreaterThanOrEqualTo(String value) {
            addCriterion("MobileB >=", value, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebLessThan(String value) {
            addCriterion("MobileB <", value, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebLessThanOrEqualTo(String value) {
            addCriterion("MobileB <=", value, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebLike(String value) {
            addCriterion("MobileB like", value, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebNotLike(String value) {
            addCriterion("MobileB not like", value, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebIn(List<String> values) {
            addCriterion("MobileB in", values, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebNotIn(List<String> values) {
            addCriterion("MobileB not in", values, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebBetween(String value1, String value2) {
            addCriterion("MobileB between", value1, value2, "mobileb");
            return (Criteria) this;
        }

        public Criteria andMobilebNotBetween(String value1, String value2) {
            addCriterion("MobileB not between", value1, value2, "mobileb");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("Money is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("Money is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(BigDecimal value) {
            addCriterion("Money =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(BigDecimal value) {
            addCriterion("Money <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(BigDecimal value) {
            addCriterion("Money >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Money >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(BigDecimal value) {
            addCriterion("Money <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Money <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<BigDecimal> values) {
            addCriterion("Money in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<BigDecimal> values) {
            addCriterion("Money not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Money between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Money not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andMsgIsNull() {
            addCriterion("Msg is null");
            return (Criteria) this;
        }

        public Criteria andMsgIsNotNull() {
            addCriterion("Msg is not null");
            return (Criteria) this;
        }

        public Criteria andMsgEqualTo(String value) {
            addCriterion("Msg =", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotEqualTo(String value) {
            addCriterion("Msg <>", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgGreaterThan(String value) {
            addCriterion("Msg >", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgGreaterThanOrEqualTo(String value) {
            addCriterion("Msg >=", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgLessThan(String value) {
            addCriterion("Msg <", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgLessThanOrEqualTo(String value) {
            addCriterion("Msg <=", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgLike(String value) {
            addCriterion("Msg like", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotLike(String value) {
            addCriterion("Msg not like", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgIn(List<String> values) {
            addCriterion("Msg in", values, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotIn(List<String> values) {
            addCriterion("Msg not in", values, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgBetween(String value1, String value2) {
            addCriterion("Msg between", value1, value2, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotBetween(String value1, String value2) {
            addCriterion("Msg not between", value1, value2, "msg");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaIsNull() {
            addCriterion("MoneyBeforeA is null");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaIsNotNull() {
            addCriterion("MoneyBeforeA is not null");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaEqualTo(BigDecimal value) {
            addCriterion("MoneyBeforeA =", value, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaNotEqualTo(BigDecimal value) {
            addCriterion("MoneyBeforeA <>", value, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaGreaterThan(BigDecimal value) {
            addCriterion("MoneyBeforeA >", value, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MoneyBeforeA >=", value, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaLessThan(BigDecimal value) {
            addCriterion("MoneyBeforeA <", value, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MoneyBeforeA <=", value, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaIn(List<BigDecimal> values) {
            addCriterion("MoneyBeforeA in", values, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaNotIn(List<BigDecimal> values) {
            addCriterion("MoneyBeforeA not in", values, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MoneyBeforeA between", value1, value2, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforeaNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MoneyBeforeA not between", value1, value2, "moneybeforea");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebIsNull() {
            addCriterion("MoneyBeforeB is null");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebIsNotNull() {
            addCriterion("MoneyBeforeB is not null");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebEqualTo(BigDecimal value) {
            addCriterion("MoneyBeforeB =", value, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebNotEqualTo(BigDecimal value) {
            addCriterion("MoneyBeforeB <>", value, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebGreaterThan(BigDecimal value) {
            addCriterion("MoneyBeforeB >", value, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MoneyBeforeB >=", value, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebLessThan(BigDecimal value) {
            addCriterion("MoneyBeforeB <", value, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MoneyBeforeB <=", value, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebIn(List<BigDecimal> values) {
            addCriterion("MoneyBeforeB in", values, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebNotIn(List<BigDecimal> values) {
            addCriterion("MoneyBeforeB not in", values, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MoneyBeforeB between", value1, value2, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneybeforebNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MoneyBeforeB not between", value1, value2, "moneybeforeb");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraIsNull() {
            addCriterion("MoneyAfterA is null");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraIsNotNull() {
            addCriterion("MoneyAfterA is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraEqualTo(BigDecimal value) {
            addCriterion("MoneyAfterA =", value, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraNotEqualTo(BigDecimal value) {
            addCriterion("MoneyAfterA <>", value, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraGreaterThan(BigDecimal value) {
            addCriterion("MoneyAfterA >", value, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MoneyAfterA >=", value, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraLessThan(BigDecimal value) {
            addCriterion("MoneyAfterA <", value, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MoneyAfterA <=", value, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraIn(List<BigDecimal> values) {
            addCriterion("MoneyAfterA in", values, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraNotIn(List<BigDecimal> values) {
            addCriterion("MoneyAfterA not in", values, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MoneyAfterA between", value1, value2, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafteraNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MoneyAfterA not between", value1, value2, "moneyaftera");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbIsNull() {
            addCriterion("MoneyAfterB is null");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbIsNotNull() {
            addCriterion("MoneyAfterB is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbEqualTo(BigDecimal value) {
            addCriterion("MoneyAfterB =", value, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbNotEqualTo(BigDecimal value) {
            addCriterion("MoneyAfterB <>", value, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbGreaterThan(BigDecimal value) {
            addCriterion("MoneyAfterB >", value, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MoneyAfterB >=", value, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbLessThan(BigDecimal value) {
            addCriterion("MoneyAfterB <", value, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MoneyAfterB <=", value, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbIn(List<BigDecimal> values) {
            addCriterion("MoneyAfterB in", values, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbNotIn(List<BigDecimal> values) {
            addCriterion("MoneyAfterB not in", values, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MoneyAfterB between", value1, value2, "moneyafterb");
            return (Criteria) this;
        }

        public Criteria andMoneyafterbNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MoneyAfterB not between", value1, value2, "moneyafterb");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}